package cn.edu.scau.cmi.hekaimin.compositePattern.consistent;

import java.util.ArrayList;

public abstract class OrganizationComponent {
	public String name;
	
	public OrganizationComponent(String name) {
		this.name = name;
	}
	public abstract void add(OrganizationComponent child);
	public abstract void remove(OrganizationComponent child);
	public abstract ArrayList<OrganizationComponent> getChildren();
	public abstract String detail();
	
}
